package com.ruoyi.fs.mapper;

import java.util.List;
import com.ruoyi.fs.domain.FsCaseRepayment;

/**
 * 案件还款Mapper接口
 * 
 * @author hero
 * @date 2024-11-11
 */
public interface FsCaseRepaymentMapper 
{
    /**
     * 查询案件还款
     * 
     * @param id 案件还款主键
     * @return 案件还款
     */
    public FsCaseRepayment selectFsCaseRepaymentById(Long id);

    /**
     * 查询案件还款列表
     * 
     * @param fsCaseRepayment 案件还款
     * @return 案件还款集合
     */
    public List<FsCaseRepayment> selectFsCaseRepaymentList(FsCaseRepayment fsCaseRepayment);

    /**
     * 新增案件还款
     * 
     * @param fsCaseRepayment 案件还款
     * @return 结果
     */
    public int insertFsCaseRepayment(FsCaseRepayment fsCaseRepayment);

    /**
     * 修改案件还款
     * 
     * @param fsCaseRepayment 案件还款
     * @return 结果
     */
    public int updateFsCaseRepayment(FsCaseRepayment fsCaseRepayment);

    /**
     * 删除案件还款
     * 
     * @param id 案件还款主键
     * @return 结果
     */
    public int deleteFsCaseRepaymentById(Long id);

    /**
     * 批量删除案件还款
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteFsCaseRepaymentByIds(Long[] ids);
}
